<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <link rel="stylesheet" type="text/css" href="./css/index.css">
    <link rel="stylesheet" type="text/css" href="./css/iconfont.css"/>
    <title>药品溯源系统</title>
</head>

<body>
    <div id="loginBox">
        <h2>药&nbsp&nbsp品&nbsp&nbsp溯&nbsp&nbsp源&nbsp&nbsp系&nbsp&nbsp统</h2>

        <div class="inputBox">
            <div class="inputText" id="username">
                <span class="iconfont icon-login_username"></span>
                <input type="text" placeholder="用户名" v-model="account.username" />
            </div>
            <div class="inputText" id="password">
                <span class="iconfont icon-login_password"></span>
                <input type="password" placeholder="密码" v-model="account.password" @keyup.enter="login()" />
            </div>
            <input type="button" class="loginButton" value="登  录" @click="login"/>
        </div>
        <h6>
            <a class="toRegister" href="./view/register.html">点击注册</a>
        </h6>
    </div>

    </div>
    <!-- 开发环境版本，包含了有帮助的命令行警告 -->
    <script src="./js/vue.js"></script>
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script src="./js/index.js"></script>
</body>

</html>